//
//  SMSRequest.m
//  SulitLoan
//
//  Created by 虞嘉伟 on 2025/2/26.
//

#import "Item5UpdateUserBindCardRequest.h"

@implementation Item5UpdateUserBindCardRequest

- (YTKRequestMethod)requestMethod {
    return YTKRequestMethodPOST;
}

- (NSString *)requestUrl {
    NSString *uri = [@"/sulitloanapi/slu/young" stringByAppendingString:self.commonQuery];
    NSCharacterSet *allowedCharacters = [NSCharacterSet URLQueryAllowedCharacterSet];
    return [uri stringByAddingPercentEncodingWithAllowedCharacters:allowedCharacters];
}

- (id)requestArgument {
    //    return @{
    //        @"scenery": self.scenery ?: @"",
    //    };
    NSMutableDictionary *dict = [NSMutableDictionary dictionary];
    [dict setValue:self.scenery forKey:@"scenery"];
    [dict setValue:self.monthly forKey:@"monthly"];
    [dict setValue:@"ruinous" forKey:@"ruinous"];
    //[dict setValue:self.bounding forKey:@"bounding"];
    [dict addEntriesFromDictionary:self.info];
    return dict;
}

@end
